﻿using Rbac.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rbac.Domain.Interface
{
	public interface IUserRepository
	{

		/// <summary>
		/// 获取用户
		/// </summary>
		/// <returns></returns>
		IQueryable<User> GetUsers();
		/// <summary>
		/// 登录
		/// </summary>
		/// <param name="userName"></param>
		/// <param name="pwd"></param>
		/// <returns></returns>
		User Login(string userName, string pwd);
	}
}
